package org.oslims.client.uicomponents;

import org.oslims.domain.File;

import com.google.gwt.cell.client.AbstractCell;

public class FileDownloadCell extends AbstractCell<File> {

	@Override
	public void render(File value, Object viewData, StringBuilder sb) {
		sb.append("<a href=\"/oslims/downloadService?fileId=" + value.getId().toString() + "\">" + value.getFileName() + "</a>");
	}
}
